<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=0" />
  <title>乐语</title>
  <script src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
  <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
  <script type="text/javascript">
    (function (n, e) {
      var t = n.documentElement,
        i = "orientationchange" in window ? "orientationchange" : "resize",
        d = function () {
          var n = t.clientWidth;
          if (n && n / 7.5 > 80) { // 为兼容企业微信PC 客户端，跟字体限制80px，
            t.style.fontSize = "50px";
          } else {
            t.style.fontSize = n / 7.5 + "px"; //反之正常计算跟字体大小 
          }
        };
      n.addEventListener && (e.addEventListener(i, d, !1), n.addEventListener("DOMContentLoaded", d, !1));
    })(document, window);

    // window.onbeforeunload = function (e) {
    //   var e = window.event || e;
    //   e.returnValue = ("确定离开当前页面吗？");
    // }
  </script>
  <style>
    html,
    body {
      height: 100%;
    }

    /* .van-overlay {
      background: #fff !important;
    } */
  </style>
</head>
<!-- onunload="return test()" -->

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
      properly without JavaScript enabled. Please enable it to
      continue.</strong>
  </noscript>
  <div id="app"></div>
  <!-- built files will be auto injected -->

</body>
<script>
  // function test() {
  //   return "你确定要离开吗";
  // }
</script>

</html>